ImageViewer.Object.SetMode Function

Syntax

<ImageViewer>.Object.SetMode( Mode as C )

Arguments

Mode

This parameter has three possible values.

"Absolute" - no scaling
"Best Fit" - scaling without distortion
"Stretch" - scaling to fill the control's window

Description

The <ImageViewer>.Object.SetMode() method sets the display mode of an image in an Xdialog {ImageViewer} control.

See ImageViewer Control - Displaying Images on an Xdialog.

See Also